package com.techfengs.mapper;

import java.util.List;

import com.techfengs.pojo.Book;

public interface BookMapper {
    public abstract  List selectAllBooks();
    public abstract  Book selectOneBook(String name, String author);
    public abstract  Book selectOneBook2(Book book);
    public abstract  Book selectOneBook3(String name, Book book);
    public abstract  void insertBook(Book book);
    public abstract  void delBook(int id);
    public abstract  Book selectOneBook4(int id);
    public abstract  void updateBook(Book book);
    // public abstract  int insertBook(Book book);
}
